package com.tarena.lbs.pojo.basic.po;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("lbs_admin") // 使用MyBatis-Plus的表名注解
public class AdminPO implements Serializable {
    private String jwk;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("account_type")
    private Integer accountType;

    @TableField("business_id")
    private Integer businessId;

    @TableField("account_phone")
    private String accountPhone;

    @TableField("account_password")
    private String accountPassword;

    @TableField("nickname")
    private String nickname;

    @TableField("email")
    private String email;

    @TableField("account_status")
    private Integer accountStatus;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
}
